package com.firepongo.chaos.app.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.firepongo.chaos.app.api.data.DictData;
import com.firepongo.chaos.app.api.entity.Dict;
import com.firepongo.chaos.model.data.UpdateData;
import com.firepongo.chaos.model.dto.mu.MU;
import com.firepongo.chaos.model.dto.page.PageList;
import com.firepongo.chaos.model.dto.page.PageQueryDto;

import java.util.List;

/**
 *
 * @author G.G
 * @since 2021-08-05
*/
public interface IDictService extends IService<Dict> {

    MU insertModel(DictData data);

    boolean deleteModel(MU data);

    boolean updateModelByMU(UpdateData<DictData> data);

    DictData selectByMU(MU data);

    List<DictData> selectByData(DictData data);

    PageList<DictData> selectByPage(PageQueryDto<DictData> pageData);
}
